package ssm.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by silence on 17-5-26.
 */
@RestController
public class RestDemoController {

    @RequestMapping(value = "/rest")
    public String index() {
        return "this is rest api";
    }
}
